package org.lsy.component;

import org.apache.dubbo.config.annotation.Reference;
import org.lsy.service.HelloService;
import org.springframework.stereotype.Component;

/**
 * @author liusy95
 * @version 1.0
 * @date 2020/7/1
 */
@Component
public class HelloConsumer {

    @Reference
    private HelloService helloService;

    public String hello(String context) {
        return helloService.hello(context);
    }
}
